package com.lyxedu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.scheduling.support.SimpleTriggerContext;

import java.util.List;

@Data
@TableName("menu")
public class Menu {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    private String menuName;
    private String url;
    private String detail;
    private String icon;
    @TableField(exist = false)
    private List<Menu> children;

    private String pagePath;
}
